﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace WorldViewSolutions.ArcGISServer.SOE
{
    /// <summary>
    /// 
    /// </summary>
    /// <remarks></remarks>
    public class ExportedLayer
    {
        /// <summary>
        /// Gets or sets the name.
        /// </summary>
        /// <value>The name.</value>
        /// <remarks></remarks>
        public string Name { get; set; }

        /// <summary>
        /// Gets or sets the data.
        /// </summary>
        /// <value>The data.</value>
        /// <remarks></remarks>
        public byte[] Data { get; set; }

        /// <summary>
        /// Initializes a new instance of the <see cref="T:System.Object"/> class.
        /// </summary>
        /// <remarks></remarks>
        public ExportedLayer()
        { }

        /// <summary>
        /// Initializes a new instance of the <see cref="ExportedLayer"/> class.
        /// </summary>
        /// <param name="name">The name.</param>
        /// <param name="data">The data.</param>
        /// <remarks></remarks>
        public ExportedLayer(string name, byte[] data)
        {
            this.Name = name;
            this.Data = data;
        }
    }
}
